package com.example.springbooksystem.mapper;

import com.example.springbooksystem.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-01-25
 * @time: 13:48:56
 */
@Mapper
public interface UserMapper {
    @Select("select * from user_info where delete_flag = 0 and user_name = #{name}")
    UserInfo selectUserByName(String name);
}
